package test.node;

public class NodeInfo {

    private NodeInfo next;
    //private NodeInfo last;
    public NodeInfo() {

    }

    public NodeInfo(NodeInfo next) {
        this.next = next;
    }

    public NodeInfo getNext() {
        return next;
    }

    public void setNext(NodeInfo next) {
        this.next = next;
    }

    public void reverse(NodeInfo nodeInfo){


    }

    private static NodeInfo mNodeInfo;

    public static NodeInfo getInstance(){
        if (mNodeInfo == null){
            synchronized (NodeInfo.class){
                if (mNodeInfo == null){
                    mNodeInfo = new NodeInfo();
                }
            }
        }
        return mNodeInfo;
    }


}
